<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Declaration.html">
<link rel="next" href="Expressions.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Commands" rel="Chapter" href="Commands.html">
<link title="Declaration" rel="Chapter" href="Declaration.html">
<link title="Exceptions" rel="Chapter" href="Exceptions.html">
<link title="Expressions" rel="Chapter" href="Expressions.html">
<link title="Intermediate" rel="Chapter" href="Intermediate.html">
<link title="Lexer" rel="Chapter" href="Lexer.html">
<link title="Main" rel="Chapter" href="Main.html">
<link title="Parser" rel="Chapter" href="Parser.html">
<link title="Print" rel="Chapter" href="Print.html">
<link title="Print_syntaxtree" rel="Chapter" href="Print_syntaxtree.html">
<link title="Semantic" rel="Chapter" href="Semantic.html">
<link title="Subroutines" rel="Chapter" href="Subroutines.html">
<link title="Syntaxtree" rel="Chapter" href="Syntaxtree.html">
<link title="Target" rel="Chapter" href="Target.html"><title>Exceptions</title>
</head>
<body>
<div class="navbar"><a href="Declaration.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="Expressions.html">Next</a>
</div>
<center><h1>Module <a href="type_Exceptions.html">Exceptions</a></h1></center>
<br>
<pre><span class="keyword">module</span> Exceptions: <code class="code">sig</code> <a href="Exceptions.html">..</a> <code class="code">end</code></pre>Here are listed all the exceptions used into the program<br>
<hr width="100%">
<pre><span class="keyword">exception</span> <a name="EXCEPTIONSEMANTIC_ERROR"></a>SEMANTIC_ERROR <span class="keyword">of</span> <code class="type">string</code></pre>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONSYNTAX_ERROR"></a>SYNTAX_ERROR <span class="keyword">of</span> <code class="type">string</code></pre>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONTYPE_ERROR"></a>TYPE_ERROR <span class="keyword">of</span> <code class="type">string</code></pre>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONNON_DECLARED_VARIABLE"></a>NON_DECLARED_VARIABLE <span class="keyword">of</span> <code class="type">string</code></pre>
<pre><span class="keyword">exception</span> <a name="EXCEPTIONCONFIRM_RULE"></a>CONFIRM_RULE <span class="keyword">of</span> <code class="type">string</code></pre>
<div class="info">
This exception is used for all those cases which must be matched 
    into a pattern-matching, but will never verify, e.g. the push_params
    in target.ml, where the instruction Call can only be invoked with a 
    function name. Seems like "The exception proves the rule"<br>
</div>
</body></html>